FROM beimei6/hadoop
MAINTAINER seal.jing<744327309@qq.com>

ADD apache-hive-2.3.6-bin.tar.gz /usr/local/

ENV HIVE_HOME=/usr/local/apache-hive-2.3.6-bin
ENV PATH=$PATH:$HIVE_HOME/bin
ENV HIVE_CONF_DIR=$HIVE_HOME/conf

RUN chmod 1777 /data/logs

COPY config/* $HIVE_CONF_DIR/

COPY mysql-connector-java-8.0.19.jar $HIVE_HOME/lib/